package com.atguigu.gmall.cart.service;

import com.atguigu.gmall.model.cart.CartInfo;
import com.atguigu.gmall.model.product.SkuInfo;

import java.util.List;

/**
 * @Author: 李旭
 * @Time: 11:17
 * @Description:
 */
public interface CartInfoService {
    CartInfo addCart(Long skuId, Integer skuNum);

    CartInfo toCart(Long skuId);

    List<CartInfo> cartList(String userId, String userTempId);

    void checkCart(Long skuId, Integer isChecked);

    List<CartInfo> getCartListChecked(String userId);
}
